#include<iostream>
#include<string>
#include<vector>
using namespace std;

string largestNumber(vector<int>& nums) {
    string ans(to_string(nums[0]));
    string max(ans);
    string min(to_string(nums[1]));
    for (int i = 0; i < nums.size() - 1; i++)
    {
        min.clear();
        max.append(to_string(nums[i + 1]));
        min.append(to_string(nums[i + 1]));
        min.append(ans);

        if (max > min)
        {
            ans = max;
            min = max;
        }
        else
        {
            ans = min;
            max = min;
        }
    }
    return ans;
}

int wiggleMaxLength(vector<int>& nums) {
    int ret = 1;
    int i = 1;
    for (i = 1; i < nums.size() - 1; i++)
    {
        if ((nums[i] < nums[i - 1] && nums[i] < nums[i + 1]) || (nums[i] > nums[i - 1] && nums[i] > nums[i + 1]))
        {
            ret++;
        }
        if (nums[i] == nums[i + 1])
        {
            int j = i + 1;
            while (1)
            {
                nums.erase(nums.begin() + j);
                if (i == nums.size() - 1 || nums[i] != nums[i + 1])
                    break;
            }
            if ((i == nums.size() - 1) || ((nums[i] < nums[i - 1] && nums[i] < nums[i + 1]) || (nums[i] > nums[i - 1] && nums[i] > nums[i + 1])))
            {
                ret++;
            }
        }
    }
    return ret;
}

int main()
{
	/*string m("1");
	string a("2");

	if (m > a)
		cout << 1;*/
    vector<int> v{ 10,1,1,2,2,2,1,1,1,3,3,3,2,2,2 };

    //wiggleMaxLength(v);
    /*string s;
    s.push_back(v[0]);*/
    //const char* c = "123";
    /*char c = 'v[0]';
    c = 'v[1]';*/
    char c = (char)v[0];
	return 0;
}